package com.lsw.jgyf.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by lsw on 2018/7/22.
 */

public class OrderDetailsModel {

    /**
     * user_name : 奥迪
     * sex : 0
     * id_number : 666
     * mobile : 12412321
     * issue_time :
     * end_time :
     * issue :
     * id_front_img : http://127.0.0.1/mobile_shop/public/upload/20180706/80cbfe725aaa08524971cb0ffcee156b.jpg
     * id_back_img :
     */

    private UserEntity user;
    /**
     * bank_name : 招商银行
     * bank_card_number : 6214832806777616
     * card_img :
     */

    private BankCardEntity bank_card;
    /**
     * user : {"user_name":"奥迪","sex":"0","id_number":"666","mobile":"12412321","issue_time":"","end_time":"","issue":"","id_front_img":"http://127.0.0.1/mobile_shop/public/upload/20180706/80cbfe725aaa08524971cb0ffcee156b.jpg","id_back_img":""}
     * bank_card : {"bank_name":"招商银行","bank_card_number":"6214832806777616","card_img":""}
     * package : 无
     * brand_name : 苹果
     * brand_id : 2
     * phone_name : 苹果5s
     * phone_id : 8
     * company_name : 到底
     * company_id : 3
     * price : 1200.00
     * periods : 6
     * first_money : 200.00
     * real_money : 1000.00
     * monthly_supply : 1000.00
     * id : 1
     * order_num : 1241241231123
     */

    @SerializedName("package")
    private String packageX;
    private String brand_name;
    private int brand_id;
    private String phone_name;
    private int phone_id;
    private String company_name;
    private int company_id;
    private String price;
    private String periods;
    private String first_money;
    private String real_money;
    private String monthly_supply;
    private int id;
    private int status;
    private String order_num;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public void setBank_card(BankCardEntity bank_card) {
        this.bank_card = bank_card;
    }

    public void setPackageX(String packageX) {
        this.packageX = packageX;
    }

    public void setBrand_name(String brand_name) {
        this.brand_name = brand_name;
    }

    public void setBrand_id(int brand_id) {
        this.brand_id = brand_id;
    }

    public void setPhone_name(String phone_name) {
        this.phone_name = phone_name;
    }

    public void setPhone_id(int phone_id) {
        this.phone_id = phone_id;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public void setCompany_id(int company_id) {
        this.company_id = company_id;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setPeriods(String periods) {
        this.periods = periods;
    }

    public void setFirst_money(String first_money) {
        this.first_money = first_money;
    }

    public void setReal_money(String real_money) {
        this.real_money = real_money;
    }

    public void setMonthly_supply(String monthly_supply) {
        this.monthly_supply = monthly_supply;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public UserEntity getUser() {
        return user;
    }

    public BankCardEntity getBank_card() {
        return bank_card;
    }

    public String getPackageX() {
        return packageX;
    }

    public String getBrand_name() {
        return brand_name;
    }

    public int getBrand_id() {
        return brand_id;
    }

    public String getPhone_name() {
        return phone_name;
    }

    public int getPhone_id() {
        return phone_id;
    }

    public String getCompany_name() {
        return company_name;
    }

    public int getCompany_id() {
        return company_id;
    }

    public String getPrice() {
        return price;
    }

    public String getPeriods() {
        return periods;
    }

    public String getFirst_money() {
        return first_money;
    }

    public String getReal_money() {
        return real_money;
    }

    public String getMonthly_supply() {
        return monthly_supply;
    }

    public int getId() {
        return id;
    }

    public String getOrder_num() {
        return order_num;
    }

    public static class UserEntity {
        private String user_name;
        private String sex;
        private String id_number;
        private String mobile;
        private String issue_time;
        private String end_time;
        private String issue;
        private String id_front_img;
        private String id_back_img;

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public void setId_number(String id_number) {
            this.id_number = id_number;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public void setIssue_time(String issue_time) {
            this.issue_time = issue_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public void setIssue(String issue) {
            this.issue = issue;
        }

        public void setId_front_img(String id_front_img) {
            this.id_front_img = id_front_img;
        }

        public void setId_back_img(String id_back_img) {
            this.id_back_img = id_back_img;
        }

        public String getUser_name() {
            return user_name;
        }

        public String getSex() {
            return sex;
        }

        public String getId_number() {
            return id_number;
        }

        public String getMobile() {
            return mobile;
        }

        public String getIssue_time() {
            return issue_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public String getIssue() {
            return issue;
        }

        public String getId_front_img() {
            return id_front_img;
        }

        public String getId_back_img() {
            return id_back_img;
        }
    }

    public static class BankCardEntity {
        private String bank_name;
        private String bank_card_number;
        private String card_img;

        public void setBank_name(String bank_name) {
            this.bank_name = bank_name;
        }

        public void setBank_card_number(String bank_card_number) {
            this.bank_card_number = bank_card_number;
        }

        public void setCard_img(String card_img) {
            this.card_img = card_img;
        }

        public String getBank_name() {
            return bank_name;
        }

        public String getBank_card_number() {
            return bank_card_number;
        }

        public String getCard_img() {
            return card_img;
        }
    }
}
